package com.wecan.api.pay;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author liuzhihao
 * @Date 2022.04.09
 * @Version ${version}
 * @Description ${description}
 */
@FeignClient(name = "oauth", path = "/pay")
public interface PayInsideData {

    @PostMapping(value = "/refundhalf")
    boolean refundHalf(@RequestParam("id") Long id, @RequestParam("reason") String reason);
}
